package com.ruoyi.products.domain;


import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 product
 *
 * @author ruoyi
 * @date 2023-10-08
 */
public class Product extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "商品图片", readConverterExp = "$column.readConverterExp()")
    private String proPic;

    /** $column.columnComment */
    @Excel(name = "商品名称", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "商品价格", readConverterExp = "$column.readConverterExp()")
    private BigDecimal price;

    /** $column.columnComment */
    @Excel(name = "描述", readConverterExp = "$column.readConverterExp()")
    private String description;

    /** $column.columnComment */
    @Excel(name = "内轮播图", readConverterExp = "$column.readConverterExp()")
    private String innerSwiper;

    /** $column.columnComment */
    @Excel(name = "介绍图片", readConverterExp = "$column.readConverterExp()")
    private String introPic;

    /** $column.columnComment */
    @Excel(name = "内名称", readConverterExp = "$column.readConverterExp()")
    private String innerName;

    /** $column.columnComment */
    @Excel(name = "类型ID", readConverterExp = "$column.readConverterExp()")
    private Integer typeId;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setProPic(String proPic)
    {
        this.proPic = proPic;
    }

    public String getProPic()
    {
        return proPic;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setInnerSwiper(String innerSwiper)
    {
        this.innerSwiper = innerSwiper;
    }

    public String getInnerSwiper()
    {
        return innerSwiper;
    }
    public void setIntroPic(String introPic)
    {
        this.introPic = introPic;
    }

    public String getIntroPic()
    {
        return introPic;
    }
    public void setInnerName(String innerName)
    {
        this.innerName = innerName;
    }

    public String getInnerName()
    {
        return innerName;
    }
    public void setTypeId(Integer typeId)
    {
        this.typeId = typeId;
    }

    public Integer getTypeId()
    {
        return typeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("proPic", getProPic())
                .append("name", getName())
                .append("price", getPrice())
                .append("description", getDescription())
                .append("innerSwiper", getInnerSwiper())
                .append("introPic", getIntroPic())
                .append("innerName", getInnerName())
                .append("typeId", getTypeId())
                .toString();
    }
}
